#ifndef _STATE_MANAGER_H_
#define _STATE_MANAGER_H_

#include <SFML\System.hpp>
#include "State.h"
#include <vector>
namespace Engine
{
	class StateManager
	{
	public:
		StateManager();
		void ChangeState(State* state);
		void PushState(State* state);
		void PopState();
		std::vector<State*>* getStates(){return &states;}
	private:
		std::vector<State*> states;
	};
	static StateManager *stateManager;
}

#endif